package kz.pro.shared.services;

import com.google.gwt.user.client.rpc.AsyncCallback;
import java.math.BigDecimal;
import java.util.List;

import kz.pro.shared.entity.UserEntity;

public interface UserServiceAsync {
	void findUser(BigDecimal userId, AsyncCallback<UserEntity> callback);
	void saveUser(String name, String surname, String phoneNumber, String phoneType, AsyncCallback<Void> callback);
	void updateUser(BigDecimal userId, String name, String surname, String phoneNumber, String phoneType, AsyncCallback<Void> callback);
	void deleteUser(UserEntity user, AsyncCallback<Void> callback);
	void userList(AsyncCallback<List<UserEntity>> callback);
	void hello(AsyncCallback<Void> callback);

}
